package com.example.demo.ws.hzuoj.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;

public class UserRole extends Model<UserRole> {
   
	//id
	@TableId
	private String id;
	//用户名
	private String username;
	//角色ID
	private String roleId;


	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getRole_id() {
		return roleId;
	}
	public void setRole_id(String roleId) {
		this.roleId = roleId;
	}


	@Override
	protected Serializable pkVal() {
		// TODO Auto-generated method stub
		return id;
	}
}
